/* 整个滚动条 */
::-webkit-scrollbar {
    /* 对应纵向滚动条的宽度 */
    width: 5px;
    /* 对应横向滚动条的宽度 */
    height: 5px;
}

/* 滚动条上的滚动滑块 */
::-webkit-scrollbar-thumb {
    background-color: #a7a7a7;
    border-radius: 32px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2);
    border-radius: 32px;
}


/* pc width > 1024px */

/* 清除内、外间距 */
* {
    margin: 0;
    padding: 0;
    /* 添加内间距不扩大div */
    box-sizing: border-box;
}

.box {
 
    margin:auto;
    margin-top: 20px;
    padding-top: 30px;
    width: auto;
    height: auto;
    /* background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2); */
    display: flex;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    /* align-items: center; */
    /* 纵向排列 */
    flex-direction: row;
    /* 无法选中文字 */
    user-select: none;
    /* 元素之间的上下间距 */
    gap: 20px;
}

.box h2 {
    color: grey;
}

.inputBox {
    position: relative;
    width: 80%;
    max-width: 550px;
 
}

.inputBox input {
    
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background: none;
    border-radius: 5px;
    outline: none;
    color: rgba(0, 0, 0, 0.5);
    font-size: 1em;
    /* 过渡 */
    transition: 0.5s;
}

.inputBox span {
    position: absolute;
    left: 0;
    padding: 15px;
    pointer-events: none;
    font-size: 1em;
    color: rgba(0, 0, 0, 0.5);
    /* 大写字母 */
    text-transform: uppercase;
    /* 过渡 */
    transition: 0.5s;
}

.inputBox input:valid~span,
.inputBox input:focus~span {
    color: black;
    /* 变换位置 */
    transform: translateX(0px) translateY(-18px);
    font-size: 0.8em;
    padding: 0 5px;
    background: rgba(255, 255, 255, 0);

    letter-spacing: 0.1em;
}

.inputBox:nth-child(3) input:valid~span,
.inputBox:nth-child(3) input:focus~span {
    background: black;
    color: rgba(0, 0, 0, 0.5);
}

.inputBox input:valid,
.inputBox input:focus {
    border: 1px solid black;
}

/* 给按钮写样式 */
.buttonBox {
    text-align: center;
    float: left;
}
.buttonBox button {
    width: 50px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.5);
    height: 50px;
    border-radius: 5px;
    background: none;
}
.two_btn {
    margin-top: 20px;
    margin-left: 60%;
    transform: translateX(-50%);
}


#data {
    width: auto;
    /* float: left; */
}

.select_box {
    width: auto;
    font-family: Misans;
    padding: 2px 3px;
    border-radius: 5px;
    background: none;
    font-size: 1em;
    color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.5);
    /* font-weight: 600; */
    cursor: pointer;
    /* -webkit-transition: all .3s;
	transition: all .3s; */
    height: 50px;
}
.showTime {
    width: 50%;
    font-family: Misans;
    font-size: 50px;
    margin:auto;
    text-align: center;
    margin-top: 150px;
    user-select: none;
}
.main{
    height: 100%;

    }
    
.footer{
    width: 380px;
    text-align: center;
    position:absolute;
    bottom: 0;
    left: 50%;
    margin-left: -190px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2);
    line-height: 25px;
    }
    .footer_btn {
        border: 0;
        font-size: 16px;
        cursor: pointer;
        background-color: rgba(255, 255, 255, 0);
        user-select: none;
    }
    .success {
        position: fixed;
        background: rgba(255, 255, 255, 0.2);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-radius: 50px;
        box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2);
        color: black;
        font-size: 25px;
        font-weight: bold;
        padding: 12px 30px 12px 30px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        float: left;
        margin-top: -220px;
        z-index: 998;
        transition: translate 1s;
        /* overflow: hidden; */
        display: inline-block;
        user-select: none;
    }
    svg {
        padding-top: 3px;
    }

    .about {
    width: 70vh;
	height: 60vh;
	border-radius: 10px;
    background-color: aliceblue;
    /* background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2); */
	padding: 10px 0px 20px 0px;
	text-align: center;
	position: fixed;
	z-index: 1001;
	left: 50%;
    margin-left: -36vh;
	top:20vh;
	display: none;
    user-select: none;
    -webkit-animation: fadeleftIn .4s;
        animation: fadeleftIn .4s;
        /* -webkit-animation: fadeleftOut .4s;
        animation: fadeleftOut .4s; */
        -webkit-animation-name: about;
        animation-name: about;
        /* -webkit-animation-name: about2;
        animation-name: about2; */
    }

    @-webkit-keyframes about {
        0% {
            -webkit-transform: scale3d(0, 0, 0);
            transform: scale3d(0.5, 0.5, 0.5);
            opacity: 0;
        }
        50% {
            -webkit-animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
            animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
        }
        100% {
            -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
            -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
            animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
            opacity: 1;
        }
    }
    @keyframes about {
        0% {
            -webkit-transform: scale3d(0, 0, 0);
            transform: scale3d(0.5, 0.5, 0.5);
            opacity: 0;
        }
        50% {
            -webkit-animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
            animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
        }
        100% {
            -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
            -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
            animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
            opacity: 1;
        }
    }


/* 设置部分 */
    .settings_box {
        width: 70vh;
        height: 60vh;
        border-radius: 10px;
        background-color: #f0f8ff;
        padding: 10px 0px 20px 0px;
        text-align: center;
        position: fixed;
        overflow-y: scroll;
        z-index: 1001;
        left: 50%;
        margin-left: -36vh;
        top:20vh;
        display: none;
        user-select: none;
        -webkit-animation: fadeleftIn .4s;
            animation: fadeleftIn .4s;
            -webkit-animation-name: settings_box;
            animation-name: settings_box;
        
        }
    
        @-webkit-keyframes settings_box {
            0% {
                -webkit-transform: scale3d(0, 0, 0);
                transform: scale3d(0.5, 0.5, 0.5);
                opacity: 0;
            }
            50% {
                -webkit-animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
                animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
            }
            100% {
                -webkit-transform: scale3d(1, 1, 1);
                transform: scale3d(1, 1, 1);
                -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
                animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
                opacity: 1;
            }
        }
        @keyframes settings_box {
            0% {
                -webkit-transform: scale3d(0, 0, 0);
                transform: scale3d(0.5, 0.5, 0.5);
                opacity: 0;
            }
            50% {
                -webkit-animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
                animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
            }
            100% {
                -webkit-transform: scale3d(1, 1, 1);
                transform: scale3d(1, 1, 1);
                -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
                animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
                opacity: 1;
            }
        }

        .settings_box_title {
            font-size: 30px;
            float: left;
            margin-left: calc(50% - 30px);
            
        }
        .setting_btn_box {
            width: 100%;
            text-align: right;
        }


        .set_title {
            font-size: 20px;
            font-weight: 500;
            text-align: left;
            padding-top: 10px;
            padding-left: 20px;
        }
        .set_choice {
            line-height: 30px;
            margin: auto;
            background-color: #ffffff;
            border-radius: 10px;
            width: 95%;
            text-align: center;
            padding-top: 5px;
            padding-left: 30px;
      
        }
        .bg_choice_main {
            margin: auto;
            width: 90%;
            
        }
        .bg_choice_main::after {
            content: "";
            display: block;
            height: 0;
            clear:both;
            visibility: hidden;

        }
        .bg_choice_small {
            margin-left: 1.5%;
            margin-right: 1.5%;
            width: 30%;
            cursor: pointer;
            float: left;
        }
        .bg_choice_small2 {
            margin-left: 1.5%;
            margin-right: 1.5%;
            width: 30%;
            cursor: pointer;
            float: left;
        }


        .setsuccess {
            
            position: fixed;
            border: 1px solid #00A74A;
            border-radius: 100px;
            background-color: #B9DCD2;
            color: #00A74A;
            font-size: 25px;
            font-weight: bold;
            padding: 12px 30px 12px 30px;
            margin-left: 44%;
            width: auto;
            float: left;
            margin-top: -210px;
            z-index: 9999;
            transition: translate 1s;
            /* overflow: hidden; */
            display: inline-block;
        }























    .opacity_bg {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: #000;
        opacity: 0.4;
        margin: auto;
        z-index: 1000;
        display: none;
    }    
    .close_about_btn_box {
        width: 100%;
        text-align: right;
    }
    .close_about_btn {
        margin-right: 2%;
        border: 0;
        cursor: pointer;
        background-color: #f0f8ff;
    }

    .about_text {
        font-size: 35px;
        font-weight: bold;
    }
    .update_text {
        text-align: left;
        margin: auto;
        width: 90%;
        height: calc(60vh - 325px);
        overflow-y: auto;
        user-select: none;
    }
    .version {
        margin-top: 30px;
        text-align: center;
        font-size: 25px;
    }
    #datalist{  
        border-radius: 5px;
        height:auto;  
        display: none; 
        /* position: absolute; */
        top: 53px; 
        background: rgba(255, 255, 255, 0.2);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2);
    } 
    .inputBox ul {
        width: 100%;
        max-height:  300px; 
        overflow: auto;

    }
    .inputBox ul li{  
        width: 100%;
        height:30px;  
        line-height: 30px;  
        text-indent:10px;  
        font-size: 16px;  
        list-style: none;  
        color: #000;
        cursor: pointer;
        display:inline;

}  
.inputBox ul li a{  
        display:block;
        width: 100%;
        text-decoration:none;  
        color: #000;

}  
.inputBox ul li:hover{  
    display:block;  
    background: rgba(255, 255, 255, 0);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow:inset 0 0 6px rgba(255, 255, 255, 0);
    /* color:#fff;   */
} 



















    /* ipad pro */
@media screen and (max-width: 1024px) {
    .success {
        position: fixed;
        background: rgba(255, 255, 255, 0.2);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-radius: 50px;
        box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2);
        color: black;
        font-size: 20px;
        font-weight: bold;
        padding: 12px 30px 12px 30px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        float: left;
        margin-top: -220px;
        z-index: 998;
        transition: translate 1s;
        /* overflow: hidden; */
        display: inline-block;
    }
    .showTime {
        width: 100%;
        font-family: Misans;
        font-size: 50px;
        margin:auto;
        text-align: center;
        margin-top: 150px;
    }
    }


    /* ipad */
    @media screen and (max-width: 768px) {
        .box {
            max-width: 768px;
            margin: auto;
            margin-top: 40px;
            padding-top: 30px;
            width: 100%;
            height: auto;
    
            display: flex;
            /* 垂直居中
            justify-content: center; */
            /* 水平居中 */
            align-items: center;
            /* 纵向排列 */
            flex-direction: column;
            /* 无法选中文字 */
            user-select: none;
            /* 元素之间的上下间距 */
            gap: 20px;
        }
        .success {
            position: fixed;
            background: rgba(255, 255, 255, 0.2);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            border-radius: 50px;
            box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2);
            color: black;
            font-size: 20px;
            font-weight: bold;
            padding: 12px 30px 12px 30px;
            left: 50%;
            transform: translateX(-50%);
            width: auto;
            float: left;
            margin-top: -220px;
            z-index: 998;
            transition: translate 1s;
            /* overflow: hidden; */
            display: inline-block;
        }

        .showTime {
            width: 100%;
            font-family: Misans;
            font-size: 50px;
            margin:auto;
            text-align: center;
            margin-top: 150px;
        }
    }




































    /* iphone6 7 8 plus */
    @media screen and (max-width: 414px) {
        body {
            background-position: center;
        }

    
    .box {
        max-width: 400px;
        margin: auto;
        margin-top: 40px;
        padding-top: 30px;
        width: 100%;
        height: auto;

        display: flex;
        /* 垂直居中 */
        justify-content: center;
        /* 水平居中 */
        align-items: center;
        /* 纵向排列 */
        flex-direction: column;
        /* 无法选中文字 */
        user-select: none;
        /* 元素之间的上下间距 */
        gap: 20px;
    }
    
    .box h2 {
        color: rgb(0, 0, 0);
    }
    
    .inputBox {
        margin: auto;
        position: relative;
        width: 50%;
        min-width: 320px;
    }
    
    .inputBox input {
        width: 100%;
        padding: 15px;
        border: 1px solid rgba(0, 0, 0, 1);
        background: none;
        border-radius: 5px;
        outline: none;
        color: rgba(0, 0, 0, 1);
        font-size: 1em;
        /* 过渡 */
        transition: 0.5s;
    }
    
    .inputBox span {
        position: absolute;
        left: 0;
        padding: 15px;
        pointer-events: none;
        font-size: 0.9em;
        color: rgba(0, 0, 0, 0.5);
        /* 大写字母 */
        text-transform: uppercase;
        /* 过渡 */
        transition: 0.5s;
    }
    
    .inputBox input:valid~span,
    .inputBox input:focus~span {
        color: black;
        /* 变换位置 */
        transform: translateX(0px) translateY(-18px);
        font-size: 0.8em;
        padding: 0 5px;
        background: rgba(255, 255, 255, 0);
        letter-spacing: 0.1em;
    }
    
    .inputBox:nth-child(3) input:valid~span,
    .inputBox:nth-child(3) input:focus~span {
        background: black;
        color: rgba(0, 0, 0, 0.5);
    }
    
    .inputBox input:valid,
    .inputBox input:focus {
        border: 1px solid black;
    }
    
    /* 给按钮写样式 */
    
    .buttonBox {
        margin: auto;

        text-align: center;
        float: none;
    
    }
    .buttonBox button {
        width: 50px;
        cursor: pointer;
        border: 1px solid rgba(0, 0, 0, 0.5);
        height: 50px;
        border-radius: 5px;
        background: none;
    }

    
    #data {

    }
    
    .select_box {
        width: auto;
        font-family: Misans;
        padding: 2px 3px;
        border-radius: 5px;
        background: none;
        font-size: 1em;
        color: rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(0, 0, 0, 0.5);
        /* font-weight: 600; */
        cursor: pointer;
        /* -webkit-transition: all .3s;
        transition: all .3s; */
        height: 50px;
    }

    .success {
        /* max-width: 414px; */
        position: fixed;
        background: rgba(255, 255, 255, 0.2);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-radius: 0px;
        box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2);
        color: black;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        padding: 12px 30px 12px 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        float: left;
        margin-top: -195px;
        z-index: 998;
        transition: translate 1s;
        /* overflow: hidden; */
        display: inline-block;
    }
    .showTime {
        max-width: 375px;
        width: 100%;
        font-family: Misans;
        font-size: 30px;
        text-align: center;
        margin-top: 100px;
    }
    .main{
        height: 100%;
    
        }
    .about {
        max-width: 414px;
        width: 100%;
        height: 60vh;
        border-radius: 10px;
        background-color: aliceblue;
        padding: 10px 0px 10px 0px;
        text-align: center;
        position: fixed;
        z-index: 1001;
        margin: auto;
        left: 0;
        top:20vh;
        display: none;
     
        }
    
        .settings_box {
        max-width: 414px;
        width: 100%;
        height: 60vh;
        border-radius: 10px;
        background-color: aliceblue;
        padding: 10px 0px 10px 0px;
        text-align: center;
        position: fixed;
        z-index: 1001;
        margin: auto;
        left: 0;
        top:20vh;
        display: none;
            user-select: none;
            -webkit-animation: fadeleftIn .4s;
            animation: fadeleftIn .4s;
            -webkit-animation-name: settings_box;
            animation-name: settings_box;
            
            }


        .opacity_bg {
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            background: #000;
            opacity: 0.4;
            margin: auto;
            z-index: 1000;
            display: none;
        }    
        .close_about_btn_box {
            width: 100%;
            text-align: right;
        }
        .close_about_btn {
            margin-right: 2%;
            border: 0;
            cursor: pointer;
            background-color: #f0f8ff;
        }
        .about_text {
            font-size: 35px;
            font-weight: bold;
        }
        .version {
            margin-top: 30px;
            text-align: center;
            font-size: 25px;
        }
        .setsuccess {
            
            position: fixed;
            border: 1px solid #00A74A;
            border-radius: 100px;
            background-color: #B9DCD2;
            color: #00A74A;
            font-size: 25px;
            font-weight: bold;
            padding: 12px 30px 12px 30px;
            margin-left: calc(50vh - 325px);
            width: auto;
            float: left;
            margin-top: -180px;
            z-index: 9999;
            transition: translate 1s;
            /* overflow: hidden; */
            display: inline-block;
        }
    }









    /* iphoneX */
    @media screen and (max-width: 375px) and (-webkit-device-pixel-ratio: 3) {
    body {

    }
    }
    /* iphone6 7 8 */
    @media screen and (max-width: 375px) and (-webkit-device-pixel-ratio: 2) {
    body {

    }
    }
    /* iphone5 */
    @media screen and (max-width: 320px) {
        .showTime {
            margin: auto;
            max-width: 320px;
            width: 100%;
            font-family: Misans;
            font-size: 20px;
            text-align: center;
            margin-top: 100px;
        }
    }
        /* GALAXY FOLD */
        @media screen and (max-width: 280px) {
            .box {
                max-width: 280px;
                margin: auto;
                margin-top: 40px;
                padding-top: 30px;
                width: 100%;
                height: auto;
                background: rgba(255, 255, 255, 0.1);
                -webkit-backdrop-filter: blur(8px);
                backdrop-filter: blur(8px);
                border-radius: 10px;
                box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.1);
                display: flex;
                /* 垂直居中
                justify-content: center; */
                /* 水平居中 */
                align-items: center;
                /* 纵向排列 */
                flex-direction: column;
                /* 无法选中文字 */
                user-select: none;
                /* 元素之间的上下间距 */
                gap: 20px;
            }
            
            .box h2 {
                color: rgb(0, 0, 0);
            }
            
            .inputBox {
                margin: auto;
                position: relative;
                width: 50%;
                min-width: 250px;
            }
            .showTime {
                max-width: 280px;
                width: 100%;
                font-family: Misans;
                font-size: 26px;
                text-align: center;
                margin-top: 100px;
            }
            .footer{
                width: 280px;
                text-align: center;
                position:absolute;
                bottom: 0;
                /* left: 50%; */
                transform: translateX(18%);
                background: rgba(255, 255, 255, 0.2);
                -webkit-backdrop-filter: blur(8px);
                backdrop-filter: blur(8px);
                box-shadow:inset 0 0 6px rgba(255, 255, 255, 0.2);
                line-height: 25px;
                }
            .footer_btn {
                font-size: 10px;
            }
        }